<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Správa uživatelů</title>
</head>
<body>

<h1>Správa uživatelů</h1>
<h2>Smazání uživatele</h2>
Opravdu si přejete smazat uživatele <c:out value="${userToDelete.email}" />?


<form:form action="delete.html" method="Post" commandName="delete">
<input name="id" type="hidden" value="<c:out value="${userToDelete.id}" />"/>

<input type="submit" value="Ano" />

</form:form>
<form:form action="list.html" method="Get">
<input type="submit" value="Ne" />
</form:form>

</body>
</html>